﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： NetworkOrderEntity.cs
// 项目名称：斑马车务
// 创建时间：2019-01-23
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace CGT.Infrastructure.Entity
{
	/// <summary>
	///网办订单数据实体  
	/// </summary>
    [PrimaryKey("OrderID")]
	public class NetworkOrder
	{
		///<summary>
		///网办订单
		///</summary>
		public NetworkOrder()
		{
		}	
    
		
		///<summary>
		///
		///</summary>
        [Column("OrderID","")]
        public long OrderID { get; set; }

		///<summary>
		///业务类型
		///</summary>
        [Column("BizTypeID","业务类型")]
        public int BizTypeID { get; set; }

		///<summary>
		///办理城市
		///</summary>
        [Column("CityID","办理城市")]
        public int CityID { get; set; }

		///<summary>
		///姓名
		///</summary>
        [Column("UserName","姓名")]
        public string UserName { get; set; }

		///<summary>
		///身份证号
		///</summary>
        [Column("IDNum","身份证号")]
        public string IDNum { get; set; }

		///<summary>
		///手机号
		///</summary>
        [Column("UserMobile","手机号")]
        public string UserMobile { get; set; }

		///<summary>
		///变更前手机
		///</summary>
        [Column("BeforeMobile","变更前手机")]
        public string BeforeMobile { get; set; }

		///<summary>
		///变更后手机
		///</summary>
        [Column("AfterMobile","变更后手机")]
        public string AfterMobile { get; set; }

		///<summary>
		///车牌号
		///</summary>
        [Column("PlateNo","车牌号")]
        public string PlateNo { get; set; }

		///<summary>
		///车辆标识代码
		///</summary>
        [Column("VIN","车辆标识代码")]
        public string VIN { get; set; }

		///<summary>
		///是否省内
		///</summary>
        [Column("IsProvince","是否省内")]
        public int IsProvince { get; set; }

		///<summary>
		///准驾车型
		///</summary>
        [Column("LicenceClass","准驾车型")]
        public string LicenceClass { get; set; }

		///<summary>
		///降级后准驾车型
		///</summary>
        [Column("LowLicenceClass","降级后准驾车型")]
        public string LowLicenceClass { get; set; }

		///<summary>
		///驾驶证正本照片
		///</summary>
        [Column("DrivingLicenceImage","驾驶证正本照片")]
        public string DrivingLicenceImage { get; set; }

		///<summary>
		///驾驶证副本照片
		///</summary>
        [Column("DrivingLicenceBackImage","驾驶证副本照片")]
        public string DrivingLicenceBackImage { get; set; }

		///<summary>
		///交强险副本原件照片
		///</summary>
        [Column("CompulsoryImage","交强险副本原件照片")]
        public string CompulsoryImage { get; set; }

		///<summary>
		///原机动车号牌
		///</summary>
        [Column("BeforePlateNoImage","原机动车号牌")]
        public string BeforePlateNoImage { get; set; }

		///<summary>
		///原机动车号牌照片
		///</summary>
        [Column("AfterPlateNoImage","原机动车号牌照片")]
        public string AfterPlateNoImage { get; set; }

		///<summary>
		///临时牌照原件正面
		///</summary>
        [Column("TemporaryLicenceImage","临时牌照原件正面")]
        public string TemporaryLicenceImage { get; set; }

		///<summary>
		///临时牌照反面
		///</summary>
        [Column("TemporaryLicenceBackImage","临时牌照反面")]
        public string TemporaryLicenceBackImage { get; set; }

		///<summary>
		///订单状态
		///</summary>
        [Column("OrderState","订单状态")]
        public int OrderState { get; set; }

		///<summary>
		///支付状态
		///</summary>
        [Column("PayState","支付状态")]
        public int PayState { get; set; }

		///<summary>
		///说明描述
		///</summary>
        [Column("OrderDesc","说明描述")]
        public string OrderDesc { get; set; }

		///<summary>
		///申请时间
		///</summary>
        [Column("CreatedDate","申请时间")]
        public DateTime CreatedDate { get; set; }

		///<summary>
		///申请人
		///</summary>
        [Column("UserID","申请人")]
        public long UserID { get; set; }

		///<summary>
		///更新时间
		///</summary>
        [Column("UpdatedDate","更新时间")]
        public DateTime UpdatedDate { get; set; }

		///<summary>
		///订单金额
		///</summary>
        [Column("OrderPrice","订单金额")]
        public decimal OrderPrice { get; set; }

		///<summary>
		///待支付金额
		///</summary>
        [Column("NeedPayPrice","待支付金额")]
        public decimal NeedPayPrice { get; set; }

		///<summary>
		///工本费
		///</summary>
        [Column("CostPrice","工本费")]
        public decimal CostPrice { get; set; }

		///<summary>
		///邮寄费用
		///</summary>
        [Column("ExpressFee","邮寄费用")]
        public decimal ExpressFee { get; set; }

		///<summary>
		///其他费用(费用可以自定义,可能有多个)
		///</summary>
        [Column("OtherPrice","其他费用(费用可以自定义,可能有多个)")]
        public decimal OtherPrice { get; set; }

		///<summary>
		///收件地址
		///</summary>
        [Column("MailAddressID","收件地址")]
        public long MailAddressID { get; set; }

		///<summary>
		///邮寄公司
		///</summary>
        [Column("ExpressCompanyID","邮寄公司")]
        public int ExpressCompanyID { get; set; }

		///<summary>
		///
		///</summary>
        [Column("VehicleLicenceImage","")]
        public string VehicleLicenceImage { get; set; }

		///<summary>
		///行驶证背面照片
		///</summary>
        [Column("VehicleLicenceBackImage","行驶证背面照片")]
        public string VehicleLicenceBackImage { get; set; }

		///<summary>
		///体检医院
		///</summary>
        [Column("HospitalID","体检医院")]
        public int HospitalID { get; set; }

	}
}